package com.rc.saas.tenant.mapper.enterprise;

import com.rc.saas.tenant.common.base.BaseMapper;

import java.util.List;

import com.rc.saas.tenant.model.enterprise.RcEnterpriseGainRecord;
import com.rc.saas.tenant.model.enterprise.RcEnterpriseGainRecordExample;
import org.apache.ibatis.annotations.Param;

public interface RcEnterpriseGainRecordMapper extends BaseMapper<Long, RcEnterpriseGainRecord, RcEnterpriseGainRecordExample> {
    RcEnterpriseGainRecord selectGainRecordByGain(@Param("enterpriseId") Long enterpriseId, @Param("gainId") Long gainId);

    void insertReturnId(RcEnterpriseGainRecord enterpriseGainRecord);

    RcEnterpriseGainRecord selectGainRecordByEnterprise(@Param("enterpriseId") Long enterpriseId);

}